<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />
        <!-- iPhone, iPad and Android specific settings -->
        <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=2;" />
        <meta name="apple-mobile-web-app-capable" content="yes" />
        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
        <title><?php echo CHtml::encode($this->pageTitle); ?></title>

        <link rel="stylesheet" type="text/css" href="/ams/css/print.css" media="print" />       
    </head>

    <?php
    $iPad = strpos($_SERVER['HTTP_USER_AGENT'], 'iPad');
    ?>
    <body id="<?php echo $this->id . '-' . $this->action->id; ?>" orient="portrait">
        <div id="wrapper" class="<?php echo ($iPad ? "ipad" : ""); ?>">
            <?php echo $content; ?>
        </div>
    </body>
</html>